# -*- coding: utf-8 -*-
# @Time     : 2023/12/10 0:28
# @Author   : JustFly
# @File     : keyword_menu.py
# @Software : PyCharm

"""
定义映射字典
    关键词-->插件函数
"""

import plugin.say_hello
# import plugin.get_chong_zhi
# import plugin.api_a_word
# import plugin.get_bot_info
# import plugin.get_cai_dan
# import plugin.kao_yan_zi_xun
# import plugin.api_hot_news
# import plugin.api_hot_commend_wangyiyun
# import plugin.api_show_user_money
# import plugin.sign_qq_to_db
# import plugin.api_get_xiao_jie_jie
# import plugin.api_wen_an
# import plugin.api_mm_img
# import plugin.api_tou_xiang
# import plugin.api_er_ci_yuan
import plugin.expire_id


def get_menu():
    return {
        '你好': plugin.say_hello.func,
        # '充值': plugin.get_chong_zhi.func,
        # '每日一言': plugin.api_a_word.func,
        # 'info': plugin.get_bot_info.func,
        # '功能': plugin.get_cai_dan.func,
        # '价格': plugin.get_cai_dan.func_price,
        # '考研资讯': plugin.kao_yan_zi_xun.func,
        # '热搜': plugin.api_hot_news.func,
        # # '热搜详情': plugin.api_hot_news.func_detail,
        # '热评': plugin.api_hot_commend_wangyiyun.func,
        # '注册': plugin.sign_qq_to_db.func,
        # '余额': plugin.api_show_user_money.func,
        # '小姐姐': plugin.api_get_xiao_jie_jie.func,
        # 'mm': plugin.api_mm_img.func,
        # '头像': plugin.api_tou_xiang.func,
        # '二次元': plugin.api_er_ci_yuan.func,
        # '文案': plugin.api_wen_an.func,
        '/房号': plugin.expire_id.get_all_id_msg,
        '/发布': plugin.expire_id.func
    }


def get_price():
    return {
        '你好': 0.00,
        # '充值': 0.00,
        # '每日一言': 0.01,
        # 'info': 0.00,
        # '功能': 0.00,
        # '价格': 0.00,
        # '考研资讯': 0.05,
        # '热搜': 0.02,
        # # '热搜详情': 4.00,
        # '热评': 0.02,
        # '注册': 0.00,
        # '余额': 0.00,
        # '小姐姐': 0.10,
        # 'mm': 0.05,
        # '头像': 0.05,
        # '二次元': 0.05,
        # '文案': 0.02,
        '/房号': 0.00,
        '/发布': 0.00,
    }


def test():
    menu = get_menu()
    print(menu.get('你好'))
    print(menu.get('每日一言'))
    print(menu.get('/斜眼笑'))
    print(menu.get('&#91;大怨种&#93;请使用最新版手机QQ体验新功能'))


if __name__ == '__main__':
    test()

